package com.chenglu.android.mine.bean;

import java.util.List;

/**
 * @author: lyj
 * @Created: by Copyright 2023/10/16 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description：
 */
public class CouponBean {

    private Integer code;
    private Boolean success;
    private Data data;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class Data {
        private List<Records> records;
        private Integer total;
        private Integer size;
        private Integer current;
        private List<?> orders;
        private Boolean optimizeCountSql;
        private Boolean hitCount;
        private String countId;
        private Integer maxLimit;
        private Boolean searchCount;
        private Integer pages;

        public List<Records> getRecords() {
            return records;
        }

        public void setRecords(List<Records> records) {
            this.records = records;
        }

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getCurrent() {
            return current;
        }

        public void setCurrent(Integer current) {
            this.current = current;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public Boolean getOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(Boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public Boolean getHitCount() {
            return hitCount;
        }

        public void setHitCount(Boolean hitCount) {
            this.hitCount = hitCount;
        }

        public String getCountId() {
            return countId;
        }

        public void setCountId(String countId) {
            this.countId = countId;
        }

        public Integer getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Integer maxLimit) {
            this.maxLimit = maxLimit;
        }

        public Boolean getSearchCount() {
            return searchCount;
        }

        public void setSearchCount(Boolean searchCount) {
            this.searchCount = searchCount;
        }

        public Integer getPages() {
            return pages;
        }

        public void setPages(Integer pages) {
            this.pages = pages;
        }

        public static class Records {
            private double couponAmount;
            private String couponDesc;
            private String couponId;
            private String couponName;
            private String couponPercentage;
            private Integer couponUseType;
            private Integer day;
            private String id;
            private Integer isFixedTime;
            private String keyId;
            private double minMoney;
            private String receiveTime;
            private String receivingProportion;
            private String shopsName;
            private Integer shopsTypeId;
            private String useEndTime;
            private String useStartTime;
            private Integer useStatus;
            private String useTime;
            private Integer useType;
            private String userId;
            private Integer version;

            private boolean isSelect;

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            public double getCouponAmount() {
                return couponAmount;
            }

            public void setCouponAmount(double couponAmount) {
                this.couponAmount = couponAmount;
            }

            public String getCouponDesc() {
                return couponDesc;
            }

            public void setCouponDesc(String couponDesc) {
                this.couponDesc = couponDesc;
            }

            public String getCouponId() {
                return couponId;
            }

            public void setCouponId(String couponId) {
                this.couponId = couponId;
            }

            public String getCouponName() {
                return couponName;
            }

            public void setCouponName(String couponName) {
                this.couponName = couponName;
            }

            public String getCouponPercentage() {
                return couponPercentage;
            }

            public void setCouponPercentage(String couponPercentage) {
                this.couponPercentage = couponPercentage;
            }

            public Integer getCouponUseType() {
                return couponUseType;
            }

            public void setCouponUseType(Integer couponUseType) {
                this.couponUseType = couponUseType;
            }

            public Integer getDay() {
                return day;
            }

            public void setDay(Integer day) {
                this.day = day;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public Integer getIsFixedTime() {
                return isFixedTime;
            }

            public void setIsFixedTime(Integer isFixedTime) {
                this.isFixedTime = isFixedTime;
            }

            public String getKeyId() {
                return keyId;
            }

            public void setKeyId(String keyId) {
                this.keyId = keyId;
            }

            public double getMinMoney() {
                return minMoney;
            }

            public void setMinMoney(double minMoney) {
                this.minMoney = minMoney;
            }

            public String getReceiveTime() {
                return receiveTime;
            }

            public void setReceiveTime(String receiveTime) {
                this.receiveTime = receiveTime;
            }

            public String getReceivingProportion() {
                return receivingProportion;
            }

            public void setReceivingProportion(String receivingProportion) {
                this.receivingProportion = receivingProportion;
            }

            public String getShopsName() {
                return shopsName;
            }

            public void setShopsName(String shopsName) {
                this.shopsName = shopsName;
            }

            public Integer getShopsTypeId() {
                return shopsTypeId;
            }

            public void setShopsTypeId(Integer shopsTypeId) {
                this.shopsTypeId = shopsTypeId;
            }

            public String getUseEndTime() {
                return useEndTime;
            }

            public void setUseEndTime(String useEndTime) {
                this.useEndTime = useEndTime;
            }

            public String getUseStartTime() {
                return useStartTime;
            }

            public void setUseStartTime(String useStartTime) {
                this.useStartTime = useStartTime;
            }

            public Integer getUseStatus() {
                return useStatus;
            }

            public void setUseStatus(Integer useStatus) {
                this.useStatus = useStatus;
            }

            public String getUseTime() {
                return useTime;
            }

            public void setUseTime(String useTime) {
                this.useTime = useTime;
            }

            public Integer getUseType() {
                return useType;
            }

            public void setUseType(Integer useType) {
                this.useType = useType;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public Integer getVersion() {
                return version;
            }

            public void setVersion(Integer version) {
                this.version = version;
            }


        }

    }
}
